package com.xyhy.starter.web.sign;

import org.springframework.web.servlet.HandlerInterceptor;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

/**
 * @author robert
 * @since 2025-02-26
 */
public class SignInterceptor implements HandlerInterceptor {
  @Override
  public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
    System.out.println(request.getHeaderNames());
    return HandlerInterceptor.super.preHandle(request, response, handler);
  }
}
